package com.zhang.spring.boot.mongo;

import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(MongoRespRegistrar.class)
public @interface EnableMongoResp {

    Class<?> repositoryBaseClass() default  SimpleMongoRepository.class;

    Class<?> repositoryFactoryBeanClass() default MongoRespFactoryBean.class;
}
